package com.heima.model.behavior.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author xjs
 * @date 2022/9/7 14:07
 * description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("bh_unlikes")
@ApiModel(value="BhUnLike", description="")
public class BhUnLikes implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "自媒体文章id")
    @TableField("article_id")
    private Long articleId;

    @ApiModelProperty(value = "app用户id")
    @TableField("ap_user_id")
    private Long apUserId;

    @ApiModelProperty(value = "0文章  1动态   2评论")
    @TableField("type")
    private short type;
}
